import logging

def log_set():
    logging.basicConfig(filename="log.log", filemode="a+", format="%(message)s-%(lineno)d-%(thread)d-%(levelno)s", level=logging.DEBUG)